﻿/// 用来webview2控件和内部blazor app互动

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components.WebView.Wpf;
using Microsoft.Web.WebView2.Wpf;

namespace zy_simu.Data
{
    public class BlazorWebViewReaction
    {
        // webview function interface
        public WebView2? web_view2;
        public Microsoft.Web.WebView2.Core.CoreWebView2? core_web_view2;
        public delegate Microsoft.Web.WebView2.Core.CoreWebView2? GetWebView();
        public GetWebView? get_webview = null;

        public delegate Task CloseApp();
        public CloseApp? Close = null;

    }
}
